Add a flag to force resolution of a fingerprint
authorAlex Crichton <alex@alexcrichton.com>
Sun, 1 Feb 2015 23:21:15 +0000 (15:21 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 4 Feb 2015 22:59:53 +0000 (14:59 -0800)
commit4cdde7fabed0830b203c1d18ff569517b42e1b66
treeeb48ded1dd51450ee3d54f14e9da0b3d59f019c1
parenta59c52ddd2ea7e3f5daf335966ffe36d437d7ea1
Add a flag to force resolution of a fingerprint

Previously if a fingerprint was considered fresh based on mtime, it would not
get updated once a compilation finished with the new precise fingerprint (it
would use the older fingerprint). This alters the `resolve` method to take a
flag which disables this behavior and forces looking at the filesystem for a
fingerprint.

Closes #1259
src/cargo/ops/cargo_rustc/fingerprint.rs
tests/test_cargo_compile_path_deps.rs
tests/test_cargo_freshness.rs